package com.mm.mindmap.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("t_record")
public class Record {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private Long uid;
    private Long mid;
    private Boolean isLike;
    private Boolean isCollect;
    @JsonFormat( pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @TableField(value = "createTime")
    private Date createTime;
}
